package benchmarks.tpch.mongo.dto;

import org.mongodb.morphia.annotations.Embedded;

@Embedded
public class PartSuppDto {
    private int availqty;
    private double supplycost;
    private String comment;
    @Embedded
    private PartDto part;
    @Embedded
    private SupplierDto supplier;

    public PartSuppDto() {
    }

    public int getAvailqty() {
        return availqty;
    }

    public void setAvailqty(int availqty) {
        this.availqty = availqty;
    }

    public double getSupplycost() {
        return supplycost;
    }

    public void setSupplycost(double supplycost) {
        this.supplycost = supplycost;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public PartDto getPart() {
        return part;
    }

    public void setPart(PartDto part) {
        this.part = part;
    }

    public SupplierDto getSupplier() {
        return supplier;
    }

    public void setSupplier(SupplierDto supplier) {
        this.supplier = supplier;
    }
}
